package com.ruoyi.basic.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 菜单类别对象 menu_category
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public class MenuCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单类别ID */
    private Long mecId;

    /** 菜单类别名称 */
    @Excel(name = "菜单类别名称")
    private String mecName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long mecDisplayorder;

    public void setMecId(Long mecId) 
    {
        this.mecId = mecId;
    }

    public Long getMecId() 
    {
        return mecId;
    }
    public void setMecName(String mecName) 
    {
        this.mecName = mecName;
    }

    public String getMecName() 
    {
        return mecName;
    }
    public void setMecDisplayorder(Long mecDisplayorder) 
    {
        this.mecDisplayorder = mecDisplayorder;
    }

    public Long getMecDisplayorder() 
    {
        return mecDisplayorder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mecId", getMecId())
            .append("mecName", getMecName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("mecDisplayorder", getMecDisplayorder())
            .toString();
    }
}
